package day10;

import day9.java86.Dog;
import day9.java86.Pet;

/**
 * @author oldliu
 * @since 1.0
 */
public class DogTest {
    public static void main(String[] args) {
        Dog d=new Dog("哮天犬","公","田园犬",1000);
        d.print();
        d.catchMouse("金毛鼠");
        System.out.println(d);
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>");
        Pet p=new Dog("小花花","母","博美",3);
        p.print();
        //p.catchMouse("小灰灰");//错误
    }
}
